package com.level2app.di;

import android.app.Activity;

import com.level2app.di.scope.FragmentScope;
import com.level2app.ui.app.AccountFragment;
import com.level2app.ui.app.HomeFragment;
import com.level2app.ui.app.NetworkFragment;
import com.level2app.ui.app.ReservationsFragment;
import com.level2app.ui.app.WalletFragment;
import com.level2app.ui.home.CategoriesListFragment;
import com.level2app.ui.home.HomeCateFragment;
import com.level2app.ui.search.SearchResultFragment;

import dagger.Component;

@FragmentScope
@Component(modules = FragmentModule.class, dependencies = AppComponent.class)
public interface FragmentComponent {
    Activity getActivity();

    void inject(HomeFragment fragment);

    void inject(NetworkFragment fragment);

    void inject(ReservationsFragment fragment);

    void inject(WalletFragment fragment);

    void inject(AccountFragment fragment);

    void inject(CategoriesListFragment fragment);

    void inject(HomeCateFragment fragment);

    void inject(SearchResultFragment fragment);

}